import { ResponseBase } from './response-base';

export class SuccessResponse extends ResponseBase {
    public total: number;
    constructor(data: any, total = 0) {
      super();
      this.data = data;
      if (total || total === 0) {
        this.total = total;
      }
    }
}
